package com.board.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.board.dto.SeatOrderDto;
import com.board.dto.SendOrderDto;
import com.board.dto.SendOrderOutDto;
import com.board.entity.SendOrder;
import com.board.param.StoreOutSendOrderParam;
import com.board.param.UserFindSeatOrderParam;

import java.util.List;

/**
 * <p>
 * 膳食系统-派送订单表 服务类
 * </p>
 *
 * @author 小叶
 * @since 2024年04月04日
 */
public interface SendOrderService extends IService<SendOrder> {

    //用户条件查询外送订单
    List<SendOrderDto> userFindOrder(UserFindSeatOrderParam toBean, Integer userId);

    //商家出餐外送订单
    SendOrderOutDto storeOutSendOrder(StoreOutSendOrderParam toBean,Integer storeId);

    //商家已送达订单
    SendOrderOutDto storeConfirmOrder(String orderNum, Integer storeId);
}
